package main

import "fmt"

func main() {
	var arr = [3]int{1, 2, 3}
	for key, val := range arr {
		fmt.Printf("%d, %d\n", key+1, val)
	}
	var arr1 [3]int = [3]int{3, 4, 5}
	for key, val := range arr1 {
		fmt.Printf("%d, %d\n", key+1, val)
	}

	var arr2 = [...]int{6, 7, 8}
	for key, val := range arr2 {
		fmt.Printf("%d, %d\n", key+1, val)
	}

	var arr3 = [...]int{3: 33, 2: 11, 0: 22, 1: 99}
	for key, val := range arr3 {
		fmt.Printf("%d, %d\n", key+1, val)
	}
}
